
//------------------------------------------------------------------------------
 
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models
{

	public partial class CY_MIX_PROJECTModel:Virtual_CY_MIX_PROJECTModel
	{
        [Display(Name = "机组名称")]
        public string CREW_NAME { set; get; }

        [Display(Name = "班组名称")]
        public string TEAM_NAME { set; get; }

        public string PROJECT_USERName { set; get; }

        public string SEASON { set; get; }

        public string SEASONName
        {

            get
            {
                string result = "";
                switch(SEASON)
                {
                    case "1":result = "春季";
                        break;
                    case "2":
                        result = "夏季";
                        break;
                    case "3":
                        result = "秋季";
                        break;
                    case "4":
                        result = "冬季";
                        break;
                }
                return result;
            }
        }
    }
	public class Virtual_CY_MIX_PROJECTModel
	{
        [Display(Name = "配煤掺烧方案编号")]
        public virtual string PROJECT_ID { get; set; }
        [Display(Name = "参配日期（YYYY-MM-DD）")]
        public virtual Nullable<System.DateTime> PROJECT_DATE { get; set; }
        [Display(Name = "使用配煤掺烧方案的机组工况")]
        public virtual string CONDITION_ID { get; set; }
        [Display(Name = "使用配煤掺烧方案的机组")]
        public virtual string CREW_ID { get; set; }
        [Display(Name = "班组编号")]
        public virtual string TEAM_ID { get; set; }
        [Display(Name = "开始时间（YYYY-MM-DD HH24:MI:SS）")]
        public virtual Nullable<System.DateTime> BEGIN_TIME { get; set; }
        [Display(Name = "结束时间（YYYY-MM-DD HH24:MI:SS）")]
        public virtual Nullable<System.DateTime> END_TIME { get; set; }
        [Display(Name = "计划负荷")]
        public virtual Nullable<decimal> LOAD { get; set; }
        [Display(Name = "符合率")]
        public virtual Nullable<decimal> LOAD_RATE { get; set; }
        [Display(Name = "时长")]
        public virtual Nullable<short> HOURS { get; set; }
        [Display(Name = "是否启用")]
        public virtual Nullable<bool> IS_USED { get; set; }
        [Display(Name = "制定人")]
        public virtual string PROJECT_USER { get; set; }
        [Display(Name = "制定时间（YYYY-MM-DD HH24:MI:SS）")]
        public virtual Nullable<System.DateTime> PROJECT_TIME { get; set; }
    }
}
